package the.broccoli.uc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

import java.io.Serializable;

/**
 * <p>
 * 角色
 * </p>
 *
 * @author lei.liu
 * @since 2018-10-29
 */
@TableName("uc_role")
public class Role extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @TableId("role_id")
    private String roleId;
    /**
     * 租户ID
     */
    @TableField("tenant_id")
    private String tenantId;
    /**
     * 是否禁用。0：否；1：是
     */
    @TableField("disabled")
    private Integer disabled;

    /**
     * 角色名称
     */
    @TableField("role_name")
    private String roleName;

    /**
     * 角色编号
     */
    @TableField("role_code")
    private String roleCode;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;


    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Integer getDisabled() {
        return disabled;
    }

    public void setDisabled(Integer disabled) {
        this.disabled = disabled;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Role{" +
                ", roleId=" + roleId +
                ", disabled=" + disabled +
                ", roleName=" + roleName +
                ", roleCode=" + roleCode +
                ", remark=" + remark +
                "}";
    }
}
